package cloud.ben.smallscalepigfarmmanagementsystem.service.sow;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.sow.SowMatingInformation;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.sow.SowMatingRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/6 11:43
 */
public interface ISowMatingRecordsService {

    /**
     * 增加母猪配种记录信息
     * @param sowMatingInformation
     * @return RespBean
     */
    RespBean insertSowMatingRecords(SowMatingRecords sowMatingInformation);

    /**
     *根据id删除母猪配种记录信息
     * @param id
     * @return RespBean
     */
    RespBean deleteSowMatingRecords(Integer id);

    /**
     * 修改母猪配种记录信息
     * @param sowMatingRecords
     * @return RespBean
     */
    RespBean updateSowMatingRecords(SowMatingRecords sowMatingRecords);

    /**
     * 分页查询母猪配种记录信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectSowMatingRecordsByPage(Integer pageNumber,Integer pageSize);


    /**
     *查询母猪母猪配种记录数量（方便分页）
     * @return RespBean
     */
    RespBean selectSowMatingRecordsNum();

}
